package com.oocl.util;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

import com.oocl.listener.FoodTypeListener;

/**
 * @description: 
 * @author  XIEMI2
 * @date Jul 30, 2017 4:38:26 PM
 * @version 1.0
 */
public class PropertiesUtil {
	
	private static Properties properties;

	public static Properties getProperties(){
		properties = new Properties();
		try {
			properties.load(new FileInputStream(FoodTypeListener.realPath+"/WEB-INF/classes/properties/httpConnection.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
		return properties;
	}
	
}


